package com.meida.module.bus.client.entity.srmapi.basedata;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * srm物料基本信息
 *
 * @author flyme
 * @date 2020-10-17
 */
@Data
@Accessors(chain = true)
// @TableName("srm_material")
@TableName("B_MMD_MATERIAL")
@TableAlias("material")
@ApiModel(value="SrmMaterial对象", description="srm物料基本信息")
public class SrmMaterial  {

    private static final long serialVersionUID=1L;

    @TableId(value = "materialId")
    private Long materialId;

    private String clientCode;

    @TableField(value = "MATERIALCODE")
    private String materialCode;

    @TableField(value = "MATERIALNAME")
    private String materialName;

    private String materialDesc;

    private String industryField;

    private String materialBrand;

    private String designVoucher;

    private BigDecimal materialTypeId;

    private String materialTypeCode;

    private BigDecimal materialGroupId;

    private String materialGroupCode;

    private String baseUnitCode;

    private String orderUnitCode;

    private BigDecimal denominator;

    private BigDecimal numerator;

    private String jitFlag;

    private String status;

    private String synFlag;

    private BigDecimal erpSynState;

    private BigDecimal createUserId;

    private String createUserName;

    private BigDecimal modifyUserId;

    private String modifyUserName;

    private Date modifyTime;

    private String materialLarge;

    private String materialMiddle;

    private String materialSmall;

    private String materialDetail;

}